package com.ITD.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("查询事件入参")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryResultParam {
    @ApiModelProperty(value = "事件id")
    @JsonProperty("event_id")
    @ExcelProperty("事件id")
    private String eventId;

    @ApiModelProperty(value = "学生学号")
    @JsonProperty("student_no")
    @ExcelProperty("学生学号")
    private String studentId;

    @ApiModelProperty(value = "学生姓名")
    @JsonProperty("student_name")
    @ExcelProperty("学生姓名")
    private String studentName;

    @ApiModelProperty(value = "事件原因")
    @ExcelProperty("事件原因")
    private String detail;

    @ApiModelProperty(value = "分数变化")
    @ExcelProperty("分数变化")
    private int score;

    @ApiModelProperty(value = "事件发生时间")
    @JsonProperty("happen_date")
    @ExcelProperty("事件发生时间")
    private String happenDate;


    @ApiModelProperty(value = "录入人姓名")
    @JsonProperty("create_user_name")
    @ExcelProperty("录入人姓名")
    private String createUserName;

    @ApiModelProperty(value = "录入日期")
    @JsonProperty("create_time")//输入的就是id所以不需要id
    @ExcelProperty("录入日期")
    private String createTime;//不能写Data接收输出数据要写String
}
